package main;


import java.util.ArrayList;
import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author boomar
 */
public class ListPromotion {

    private List<Promotion> listePromotion;

    public ListPromotion() {
        listePromotion = new ArrayList<Promotion>();
    }

    public ListPromotion(List<Promotion> listePromotion) {
        this.listePromotion = listePromotion;
    }

    public List<Promotion> getListeEleve() {
        return listePromotion;
    }

    public void setListeEleve(List<Promotion> listePromotion) {
        this.listePromotion = listePromotion;
    }

    public void add(Promotion promotion) {
        listePromotion.add(promotion);
    }
}
